package com.sike.netty.jinjie.channelhandler.custom;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class CustomChannelHandler03 extends SimpleChannelInboundHandler<Integer> {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, Integer msg) throws Exception {
        log.info("{},接收客户端消息[Integer]:{}",ctx.channel(),msg);
    }
}
